package com.baogang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
* <p>
* zzq
* </p>
* @author 赵自强
* @since 2020-11-20
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("acs_swing_card_record")
public class SwingCardRecord{

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @TableField("RECORD_NO")
    private Long recordNo;

    @TableField("DEVICE_CODE")
    private String deviceCode;

    @TableField("DEVICE_NAME")
    private String deviceName;

    @TableField("CHANNEL_CODE")
    private String channelCode;

    @TableField("CHANNEL_NAME")
    private String channelName;

    @TableField("READER_CODE")
    private String readerCode;

    @TableField("READER_NAME")
    private String readerName;

    @TableField("OPEN_TYPE")
    private Integer openType;

    @TableField("BUSINESS_TYPE")
    private Integer businessType;

    @TableField("ORG_CODE")
    private String orgCode;

    @TableField("ORG_NAME")
    private String orgName;

    @TableField("CARD_NUMBER")
    private String cardNumber;

    @TableField("CARD_TYPE")
    private Integer cardType;

    @TableField("PERSON_CODE")
    private String personCode;

    @TableField("PERSON_NAME")
    private String personName;

    @TableField("SWING_TIME")
    private LocalDateTime swingTime;

    @TableField("OPEN_RESULT")
    private Integer openResult;

    @TableField("PICUTRE1")
    private String picutre1;

    @TableField("PICUTRE2")
    private String picutre2;

    @TableField("PICUTRE3")
    private String picutre3;

    @TableField("PICUTRE4")
    private String picutre4;

    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @TableField("CARD_STATUS")
    private Integer cardStatus;

    @TableField("UNIT_SEQ")
    private Long unitSeq;

    @TableField("ENTER_OR_EXIT")
    private Integer enterOrExit;

    @TableField("PREV")
    private Long prev;

    @TableField("NEXT")
    private Long next;

    @TableField("OPERATOR")
    private String operator;

    @TableField("ROUTE_RESULT")
    private Integer routeResult;

    @TableField("REMARK")
    private String remark;

    @TableField("PAPER_TYPE")
    private String paperType;

    @TableField("PAPER_NUMBER")
    private String paperNumber;

    @TableField("DEVICE_MODEL")
    private String deviceModel;

    @TableField("CATEGORY")
    private String category;

    @TableField("DEPT_ID")
    private Long deptId;

    @TableField("PERSON_ID")
    private Long personId;

    @TableField("DEPT_NAME")
    private String deptName;

    @TableField("BINDING_CHN_ID")
    private String bindingChnId;

    @TableField("RECORD_IMAGE")
    private String recordImage;

    @TableField("SNAP_URL")
    private String snapUrl;

    @TableField("SYNC_COUNT")
    private Integer syncCount;

    @TableField("DEVICE_GENRE")
    private Integer deviceGenre;

    @TableField("CUR_TEMP")
    private String curTemp;

    @TableField("IS_OVER_TEMP")
    private Integer isOverTemp;


}
